<?php 
$Content = QContext::instance();
$base_url = $Content->requestUDI();
$search = $base_url;
$search['action'] = 'search';
$delete = $base_url;
$delete['action'] = 'del';
$add = $base_url;
$add['action'] = 'add';
$import = $base_url;
$import['action'] = 'import';
$output = $base_url;
$output['action'] = 'output';
$change = $base_url;
$change['action'] = 'userchange';
?>
<div class="pageContent">
	<form method="post" action="<?php echo url($change,null,null,array('mode'=>'standard'));?>" class="pageForm" onsubmit="return validateCallback(this,dialogAjaxDone)">
		<div class="pageFormContent" layoutH="68">
			<div class="unit">
				<label>回铃限制：</label>
				<input type="text" size="32" name="limitbalance" />
			</div>
		
			<div class="unit">
				<label>金额：</label>
				<input type="text" size="32" name="balance" />
			</div>
			<div class="unit">
				<label>有效期：</label>
				<input type="text" name="expireddays" class="number"/>
			</div>
			
			<div class="unit">
				<label>状态：</label>
				<select name="enable" size="1">
                <option selected="" value="-1">不修改</option>
                <option value="1">正常</option>
                <option value="0">冻结</option>
              </select>
			</div>
			
			<div class="unit">
				<label>呼出费率组：</label>
				<select style="width:120px" name="rategroupid" size="1">
							<option value="-1">不修改</option>
             				<?php foreach ($rategroupid as $k=>$v):?>
             				<option value="<?php echo $k?>"><?php echo $v;?></option>
             				<?php endforeach;?>
                            </select>
			</div><div class="unit">
				<label>回铃费率组：</label>
				<select style="width:120px" name="rategroupid_acall" size="1">
							<option value="-1">不修改</option>
             				<?php foreach ($rategroupid_acall as $k=>$v):?>
             				<option value="<?php echo $k?>"><?php echo $v;?></option>
             				<?php endforeach;?>
                            </select>
			</div>
			
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">批量修改</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="reset">清空重输</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
